[INFO] cloning repository https://github.com/peeeuzin/hooky
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peeeuzin/hooky" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeeeuzin%2Fhooky", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeeeuzin%2Fhooky'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a68f5d927007774e3998de44d327dd89e081287
[INFO] checking peeeuzin/hooky against try#f4690f24e7d9bcb0b168a02b06dd61391e8bd55a for pr-157814-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeeeuzin%2Fhooky" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/peeeuzin/hooky
[INFO] finished tweaking git repo https://github.com/peeeuzin/hooky
[INFO] tweaked toml for git repo https://github.com/peeeuzin/hooky written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peeeuzin/hooky on toolchain f4690f24e7d9bcb0b168a02b06dd61391e8bd55a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peeeuzin/hooky already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195
[INFO] running `Command { std: "docker" "start" "8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling hooky-rs v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]  --> src/lib.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(target_family = "unix")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(misleading_cfg_in_build_script)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]   --> src/lib.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[cfg(target_family = "windows")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]    --> src/lib.rs:141:11
[INFO] [stdout]     |
[INFO] [stdout] 141 |     #[cfg(target_family = "windows")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]    --> src/lib.rs:146:11
[INFO] [stdout]     |
[INFO] [stdout] 146 |     #[cfg(target_family = "unix")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hooky-rs` (build script) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195", kill_on_drop: false }`
[INFO] [stdout] 8f60b450c581a3f69a658d64299524b98b4ef47457cdf745b9025268203e4195
